// components/pop/pop.js
Component({
  properties: {
    user: {
      type: Object,
      value: {}
    }
  },
  data: {
    show: false
  },
  methods: {
    handleShow(){
      this.setData({ show: true })
    },
    handleHide(){
      this.setData({ show: false })
    },
    handleTopTap(e){
      console.log('handleTopTap', e, e.currentTarget.dataset.detail)
      this.triggerEvent('topTapEvent', e.currentTarget.dataset.detail)
    }
  }
})
